#ifndef SPRITE_H
#define SPRITE_H

#include "entity.h"

class Sprite : public Entity
{
    public:
        Sprite(sleek::core::engine::engine*);
        virtual ~Sprite();

        virtual void update(b2Vec2, float);

        virtual void setAnimation(unsigned char);
        virtual void setAnimation(sleek::core::math::array<sleek::texture::texture*>);

        virtual void loadSprite();
    protected:
        int current;
        b2Vec2 offset;
        sleek::core::math::array<sleek::core::math::array<sleek::texture::texture*> > sprite;
};

#endif // PLAYER_H
